#include "10_21_test_Stack.h"
#include<iostream>
using namespace std;


void test1()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	while (!StackEmpty(&st))
	{
		cout << StackTop(&st) << endl;
		StackPop(&st);

	}
}
int main()
{
	test1();
	return 0;
}